class CreateOptions < ActiveRecord::Migration
  def self.up
    create_table :options do |t|
      t.references :user
      t.string :name
      t.string :value
    end
    add_index(:options, [:id, :user_id])
  end

  def self.down
    drop_table :options
  end
end
